﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class RMBT_MOVE_STATION_Map : SubclassMap<RMBT_MOVE_STATION>
    {
        public RMBT_MOVE_STATION_Map()
        {
            Table("RMBT_MOVE_STATION");
            KeyColumn("MFID");
            Map(x => x.STATUS).Nullable().Length(2);
            Map(x => x.ISLINK).Nullable().Length(2);
            Map(x => x.MANUFACTURER).Not.Nullable().Length(100);
            Map(x => x.REMOCONTIP).Not.Nullable().Length(30);
            Map(x => x.REMOCONTPORT).Not.Nullable().Precision(5).Scale(0);
            Map(x => x.REMARK).Not.Nullable().Length(512);
            DoEditableMappings();
        }
    }
}
